import express from 'express'
const router = express.Router();
import ProfessionController from '../../controller/basic/ProfessionController'

router.post('/add', ProfessionController.addData);
router.post('/update', ProfessionController.updateRecord);
router.post('/delete', ProfessionController.deleteRecord);
router.post('/get', ProfessionController.findById);
router.post('/list', ProfessionController.findByPage);
router.post('/listall', ProfessionController.findAll);


module.exports = router;